/*
 * @Author: your name
 * @Date: 2021-05-11 17:07:42
 * @LastEditTime: 2021-05-13 10:28:10
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \koa2-serve\config.js
 */
module.exports = {
    dbUrl : "mongodb+srv://QQ895837911:-94D-X4qztVSKbA@cluster0.lldyw.mongodb.net/vue3Admin?retryWrites=true&w=majority",
    defaultSchemaExtend : {
        createTime: {
            type: Date,
            default: Date.now
        },
        updateTime: {
            type: Date,
            default: Date.now
        }
    },
    defaultSchemaOptions : {
        timestamps: {
            createdAt: 'createTime',
            updatedAt: 'updateTime'
        }
    },
    secret:{
        jwtKey:'myJwtKey'
    }
}